package com.xunyji.demo02weixinauthorization.comm.config.weixin;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author AltEnter
 * @create 2019-01-13 15:12
 * @desc 微信基本配置实体类
 **/
@ConfigurationProperties(prefix = "weixin")
@Component
@Data
public class WeixinBaseInfoProperties {
    /** 公众号appid */
    private String appid;
    /** 公众号密钥 */
    private String appsecret;
    /** 微信网页授权配置实体 */
    private AuthProperty auth;
}

